*******************************************************************************
******************************  TABLE A8  *************************************
*********  Main estimates corrected for multiple hypothesis testing  **********
*******************************************************************************

clear all
set more off
program drop _all

//cd "C:/Users/ganth/Dropbox/StrengthInNumbersReplicationPackage/replicable/table_a8"

//ssc install mhtexp

********************************************************************************


use "table_a8_dataset_1.dta", clear
//COLUMN 1 -- ACCT ONLY
log using "table_a8.txt", t replace
mhtexp genderminfl_labavg_ratio  genderspokes_labavg_ratio genderminfl_f2avg_ratio genderlinfl_labavg_ratio, treatment(maleMajority)
log c

**Study 2 Analysis
use "table_a8_dataset_2.dta", clear
//COLUMN 2 -- AHSG ONLY
log using "table_a8.txt", t append
mhtexp genderminfl_ratio_r1  genderspokes_ratio_r1 femvotesminfl_avgpre_ratio genderlinfl_ratio_r1, treatment(maleMajority)
log c

**Combined Analysis
use "table_a8_dataset_3.dta", clear
log using "table_a8.txt", t append
//COLUMN 3 -- COMBINED
mhtexp genderminfl_ratio_ravg genderspokes_ratio_ravg femvotesminfl_avgpre_ratio genderlinfl_ratio_ravg, treatment(maleMajority)
log c

use "table_a8_dataset_4.dta", clear
log using "table_a8.txt", t append
//mht on leadership results (4 outcomes)
mhtexp genderminfl_ratio_r2  genderspokes_ratio_r2  femvotesminfl_avgpost_ratio genderlinfl_ratio_r2, treatment(fem_leader)
log c







